#include"stack.h"
void test()
{
	ST s1;
	STInit(&s1);
	STPush(&s1, 1);
	STPush(&s1, 2);
	STPush(&s1, 3);
	printf("%d\n", STSize(&s1));
	while (STEmpty(&s1))
	{
		printf("%d", STTop(&s1));
		STPop(&s1);
	}
	printf("\n");
	printf("%d\n", STSize(&s1));
	STDestory(&s1);
}
int main()
{
	test();
	return 0;
}

